﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DLL.TrainingCourseware
{
	/// <summary>
	/// 实体类
	/// </summary>
	/// <![CDATA[2014-8-26 11:19:10]]>
	public class Entity : EntityBase
	{
		#region 属性
		public int nTrainingID = 0;
		public int nCoursewareID = 0;
		public int nNumber = 0;
		public string strTrainingName = "";
		public string strCoursewareName = "";
		public string strCoursewarePath = "";

		private string strNumber = "";
		#endregion 属性

		#region Get、Set属性
		public int TrainingID
		{
			get { return nTrainingID; }
			set { nTrainingID = value; }
		}
		public int CoursewareID
		{
			get { return nCoursewareID; }
			set { nCoursewareID = value; }
		}
		public int Number
		{
			get { return nNumber; }
			set { nNumber = value; }
		}
		public string TrainingName
		{
			get { return strTrainingName; }
			set { strTrainingName = value.Trim(); }
		}
		public string CoursewareName
		{
			get { return strCoursewareName; }
			set { strCoursewareName = value.Trim(); }
		}
		public string CoursewarePath
		{
			get { return strCoursewarePath; }
			set { strCoursewarePath = value.Trim(); }
		}

		/// <summary>
		/// 培训班第几讲课
		/// </summary>
		public string NumberName
		{
			get { return strNumber; }
			set { strNumber = value.Trim(); }
		}
		#endregion Get、Set属性

		#region 构造函数
		/// <summary>
		/// 实体类构造函数
		/// </summary>
		/// <![CDATA[2014-8-26 11:19:10]]>
		public Entity()
			: base()
		{
		}
		#endregion 构造函数
	}
}
